package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@TableName("teacher")
public class Teacher {
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("t_id")
    private String tID;
    @Getter
    @TableField("t_name")
    private String tName;
    @Getter
    @TableField("t_gender")
    private String tGender;
    @Getter
    @TableField("t_title")
    private String tTitle;

    public void settID(String tID) {
        this.tID = tID;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public void settGender(String tGender) {
        this.tGender = tGender;
    }

    public void settTitle(String tTitle) {
        this.tTitle = tTitle;
    }

    public String gettID() {
        return tID;
    }

    public String gettName() {
        return tName;
    }

    public String gettGender() {
        return tGender;
    }

    public String gettTitle() {
        return tTitle;
    }
}
